#include<stdio.h>
#include<float.h>
int main(void)
{
	int a = 1;
	double j = 1.0 / 3.0;
	float i = 1.0 / 3.0;
	printf("%.6lf\n", j);
	printf("%.12lf\n", j);
	printf("%.16lf\n", j);
	printf("%.6f\n", i);
	printf("%.12f\n", i);
	printf("%.16f\n", i);
	printf("%d %d\n", FLT_DIG, DBL_DIG);

	return 0;
}